package Client.View;

import javax.swing.JLabel;
import javax.swing.JPanel;

import Client.Model.GameModel;

import logic.OnlinePlayer;

public class ChatMessageObject extends JPanel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7115782284934298743L;
	
	OnlinePlayer op;
	GameModel model;
	
	public ChatMessageObject(OnlinePlayer op, GameModel model) {
		this.op = op;
		this.model = model;
		
		initialize();
	}
	
	
	private void initialize(){
		
		this.setBackground(LoginFrame.BG_COLOR_2);

		this.add(new JLabel(op.username));
		this.add(new JLabel("Message"));
		
	}
	
}
